package com.bj58.groupbuy.action.model;

import java.util.Date;

import com.bj58.ecat.gb.entity.other.AbstractOtherEntity;
import com.bj58.wf.dal.annotation.AutoId;
import com.bj58.wf.dal.annotation.Id;
import com.bj58.wf.dal.annotation.Table;

@SuppressWarnings("serial")
@Table("user")
@AutoId
public class User extends AbstractOtherEntity{
	/**
	* 自动编号
	*/
	@Id
	private long  id;
	
	private String username;
	
	private String realname;
	
	private String department;
	
	private int state;
	
	private long createid;
	
	private String function;
	
	private Date createtime;
	
	private String lastlogin;
	
	private int oacheck;
	
	private String md5;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public long getCreateid() {
		return createid;
	}

	public void setCreateid(long createid) {
		this.createid = createid;
	}

	public String getFunction() {
		return function;
	}

	public void setFunction(String function) {
		this.function = function;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getLastlogin() {
		return lastlogin;
	}

	public void setLastlogin(String lastlogin) {
		this.lastlogin = lastlogin;
	}

	public int getOacheck() {
		return oacheck;
	}

	public void setOacheck(int oacheck) {
		this.oacheck = oacheck;
	}

	public String getMd5() {
		return md5;
	}

	public void setMd5(String md5) {
		this.md5 = md5;
	}
	
	
}
